package chapte09;
class Student03{
    String name;
    {
        System.out.println("我是构造代码块");
    }
    // 构造方法
    public Student03(){
        System.out.println("我是Student类的构造方法");
    }
}
public class example12 {
    public static void main(String[] args) {
        Student03 stu1 = new Student03();
        Student03 stu2 = new Student03();
    }
}
